﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace STF.Blog.WebApp.Areas.ForumManage.Models.Roles
{
    public class RolesListViewModel
    {
        [Key]
        public int Id { get; set; }

        [Required(ErrorMessage ="{0}不能为空")]
        [StringLength(50),Column(TypeName ="varchar(50)")]
        [Display(Name ="权限名称")]
        public string Title { get; set; }

        [Display(Name = "修改时间")]
        public string UpdateTime { get; set; }
    }
}
